Platform Explorer / Nuxeo Platform 2021.7

Operation Document.GetBlob (Get Document File)

Description

Gets a file attached to the input document. The file location is specified using an xpath to the blob property of the document. Returns the file.
Operation id Document.GetBlob
AliasesBlob.Get
Category Files
Label Get Document File
Requires
Since

Parameters

Name Description Type Required Default value
xpath string no file:content 

Signature

Inputs document, documents
Outputs blob, bloblist

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.blob.GetDocumentBlob
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.GetBlob",
  "aliases" : [ "Blob.Get" ],
  "label" : "Get Document File",
  "category" : "Files",
  "requires" : null,
  "description" : "Gets a file attached to the input document. The file location is specified using an xpath to the blob property of the document. Returns the file.",
  "url" : "Document.GetBlob",
  "signature" : [ "document", "blob", "documents", "bloblist" ],
  "params" : [ {
    "name" : "xpath",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "file:content" ]
  } ]
}